


call compile format ["Objective= obj_%1",ObjectiveNumber];
publicVariable "Objective";


_angle = 360.0/8.0;

for "_i" from 0 to 8 do{
	_grp=createGroup civilian;
	_xObj=getPos Objective select 0;
	_yObj=getPos Objective select 1;
	
	_xR=(cos (_angle*_i)*10.0)+_xObj;
	_yR=(sin (_angle*_i)*10.0)+_yObj;
	
	_policeman= "RU_Policeman" createUnit [ [_xR,_yR],_grp];
	sleep 0.2;
	((units _grp) select 0) setDir (_angle*_i)+90.0;
	
};


waitUntil{ !(alive Objective) };

"Human obj destructed" call debug; ;
HumanObjectiveCompleted=true;
publicVariable "HumanObjectiveCompleted";

